home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / SystemNotification.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  86 lines

  1. /*
  2.      File:        SystemNotification.idl
  3.  
  4.      Contains:    System Notification Service Interfaces.
  5.  
  6.      Version:    Technology:    System 8
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __SYSTEMNOTIFICATION_IDL__
  19. #define __SYSTEMNOTIFICATION_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __KERNEL_IDL__
  25. #include <Kernel.idl>
  26. #endif
  27. #ifndef __FILEMANAGERTYPES_IDL__
  28. #include <FileManagerTypes.idl>
  29. #endif
  30. #ifndef __NAMEREGISTRY_IDL__
  31. #include <NameRegistry.idl>
  32. #endif
  33.  
  34. #ifdef __SOMIDL__
  35.  
  36. #if FOR_SYSTEM8_PREEMPTIVE
  37. /*
  38.  * basic notification data structures and constants
  39. */
  40. typedef OSType                    SNSService;
  41.  
  42. typedef OSType                    SNSKind;
  43.  
  44. typedef SOMLargeStruct            SNSSubjectVariant;            /* Derived from a struct of 316 bytes in size */
  45.  
  46. typedef OpaquePtr                SNSSubjectVariantPtr;        /* Substituted OpaquePtr for ``SNSSubjectVariant*'' */
  47.  
  48. typedef SOMLargeStruct            SNSSubject;                    /* Derived from a struct of 260 bytes in size */
  49.  
  50. typedef OpaquePtr                SNSSubjectPtr;                /* Substituted OpaquePtr for ``SNSSubject*'' */
  51.  
  52. typedef SOMLargeStruct            SNSNotificationHeader;        /* Derived from a struct of 276 bytes in size */
  53.  
  54. typedef OpaquePtr                SNSNotificationHeaderPtr;    /* Substituted OpaquePtr for ``SNSNotificationHeader*'' */
  55.  
  56. typedef SOMLargeStruct            SNSNotification;            /* Derived from a struct of 277 bytes in size */
  57.  
  58. typedef OpaquePtr                SNSNotificationPtr;            /* Substituted OpaquePtr for ``SNSNotification*'' */
  59.  
  60. /*
  61.  * producer data structures and constants
  62. */
  63. typedef OptionBits                SNSProduceOptions;
  64.  
  65. typedef ObjectID                SNSDistributorID;
  66.  
  67. /*
  68.  * consumer data structures and constants
  69. */
  70. typedef ObjectID                SNSConsumerID;
  71.  
  72. typedef OSType                    SNSConsumerName;
  73.  
  74. /*
  75.  * producer interface
  76. */
  77. /*
  78.  * consumer and subscription interface
  79. */
  80. #endif
  81.  
  82. #endif /* __SOMIDL__ */
  83.  
  84. #endif /* __SYSTEMNOTIFICATION_IDL__ */
  85.  
  86.